package com.atgui.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务器出现异常o(╥﹏╥)o 提示信息来自 cloud-consumer-feign-hystrix-order80";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务器超时或出现异常o(╥﹏╥)o 提示信息来自 cloud-consumer-feign-hystrix-order80";
    }
}
